package ezai

import "gitee.com/hongzhaomin/ezai/bean"

const (
	// 百炼大模型
	//url    = "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions"
	//apiKey = "sk-89d00f32d5c54ae0b9081939771437df"
	//model  = "qwen-max"

	// 智谱大模型
	//url    = "https://open.bigmodel.cn/api/paas/v4/chat/completions"
	//apiKey = "15d2386a54e34ad78ec52433092153a4.ciOADhaE7Pl6oM28"
	//model  = "GLM-Z1-Flash"

	RoleSystem    = "system"
	RoleUser      = "user"
	RoleAssistant = "assistant"
	RoleTool      = "tool"

	toolSystemContent = "toolSystemContent"

	toolType      = "function"
	parameterType = "object"
)

var sysMsgMap = map[string]bean.Message{
	toolSystemContent: {
		Role:    RoleSystem,
		Content: "不要假设或猜测传入函数的参数值。如果用户的描述不明确，请要求用户提供必要信息",
	},
}
